-- GENERATED SPELL FOR [Ruklar the Trapper] --


function spell0_60(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_60', 5305, 1)
end

function spell1_60(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_60', 20000, 1)
end

function Sorts_60(pUnit, Event)
local choix_sorts_60 = math.random(0, 1)
if choix_sorts_60 == 0 then
pUnit:RegisterEvent('spell0_60', 1, 1)
end
if choix_sorts_60 == 1 then
pUnit:RegisterEvent('spell1_60', 1, 1)
end
end

function mob60_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_60', math.random(1500, 3000), 1)
end

function mob60_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob60_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob60_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(60, 1, 'mob60_Action')
RegisterUnitEvent(60, 2, 'mob60_Leave')
RegisterUnitEvent(60, 3, 'mob60_Kill')
RegisterUnitEvent(60, 4, 'mob60_Die')
